package com.jokelandave.sportzbetz.pojo;

import java.util.List;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class UserInfo {

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Key key;
	
	@Persistent
	private Long googleId;
	
	@Persistent
	private List<Team> favoriteTeams;
	
	public Key getKey()
	{
		return key;
	}
	
	public Long getGoogleId()
	{
		return googleId;
	}
	
	public void setGoogelId(Long googleId)
	{
		this.googleId = googleId;
	}
	
	public List<Team> getFavoriteTeams()
	{
		return favoriteTeams;
	}
	
	public void setFavoriteTeams(List<Team> favoriteTeams)
	{
		this.favoriteTeams = favoriteTeams;
	}
}
